package org.grow.took.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;
import org.grow.took.entity.enums.DealState;

import java.time.LocalDateTime;

@TableName("DealBill")//mybatis识别表的操作
@Data
public class DealBill {
    @TableId(type= IdType.AUTO)
    private Integer dealBillId;
    private String supplierCode;
    private String consumerCode;
    private LocalDateTime dealTime;
    private Integer quantity;
    private DealState dealState;
    private String dealNote;
    private Integer version;

}
